export default {
	namespaced: true,
	state: {
        //是否显示楼层导航组件的查看更多
	isShowFlowSeeMore:false,
	clickVersionIndex:'',
	storeCodeIndex:'',
	interValObj:{},
	PagePositionY: 0, // 页面位置
	PageNameInfo:[]
	},
	getters: {
		getFlowSeeMore: state => state.isShowFlowSeeMore,
		getclickVersionIndex: state => state.clickVersionIndex,
		getstoreCodeIndex:state => state.storeCodeIndex,
		getInterValObj:state => state.interValObj,
		getPagePositionY:state =>state.PagePositionY,
		getPageNameInfo:state=>state.PageNameInfo
	},
	mutations: {
		setFlowSeeMore(state, data) {
			state.isShowFlowSeeMore = data;
		},
		setclickVersionIndex(state, data) {
			state.clickVersionIndex = data;
		},
		setstoreCodeIndex(state,data){
			state.storeCodeIndex = data;
		},
		setInterValObj(state,data){
			state.interValObj = Object.assign({}, state.interValObj, data)
		},
		setPagePositionY(state,data){
			state.PagePositionY = data;
		},
		setPageNameInfo(state,data){
			state.PageNameInfo.push(data)
		}
	}
}
